package com.glory.brepda.entity;

import com.google.gson.annotations.SerializedName;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;


public class EqpEntity implements Serializable {

    @SerializedName("EQUIPMENTLIST")
    public List<EquipmentlistBean> equipmentlist = new ArrayList<>();

    @SerializedName("EQUIPMENT")
    public EquipMentEntityBean equipment;

    public List<EquipmentlistBean> getEquipmentlist() {
        return equipmentlist;
    }

    public void setEquipmentlist(List<EquipmentlistBean> equipmentlist) {
        this.equipmentlist = equipmentlist;
    }

    public EquipMentEntityBean getEquipment() {
        return equipment == null?equipment = new EquipMentEntityBean():equipment;
    }

    public void setEquipment(EquipMentEntityBean equipment) {
        this.equipment = equipment;
    }

    public static class EquipmentlistBean implements Serializable {
        /**
         * COMCLASS : Down-Time
         * CREATED : 2018/11/17 15:23:01
         * DEPARTMENT : 封装部
         * DESCRIPTION : 键合机05
         * EQPTYPE : WIREBOND
         * EQUIPMENTID : WB05
         * HOLDSTATE : On
         * ISAVAILABLE : true
         * ISBATCH : N
         * ISBATCHLOTSIZECONTROL : false
         * ISMULTIPART : N
         * LOCATION : L_ASSY_FOL
         * MODEL : iHawk Xtreme
         * OBJECTRRN : 93690291
         * STATE : Unscheduled-Downtime
         * STATUSMODELRRN : 1024702
         * STYLE : 0
         * SUBSTATE : REPAIR_TE
         * UPDATED : 2021/08/26 18:11:34
         * UPDATEDBY : admin
         */

        @SerializedName("COMCLASS")
        private String comclass;
        @SerializedName("CREATED")
        private String created;
        @SerializedName("DEPARTMENT")
        private String department;
        @SerializedName("DESCRIPTION")
        private String description;
        @SerializedName("EQPTYPE")
        private String eqptype;
        @SerializedName("EQUIPMENTID")
        private String equipmentid;
        @SerializedName("HOLDSTATE")
        private String holdstate;
        @SerializedName("ISAVAILABLE")
        private Boolean isavailable;
        @SerializedName("ISBATCH")
        private String isbatch;
        @SerializedName("ISBATCHLOTSIZECONTROL")
        private Boolean isbatchlotsizecontrol;
        @SerializedName("ISMULTIPART")
        private String ismultipart;
        @SerializedName("LOCATION")
        private String location;
        @SerializedName("MODEL")
        private String model;
        @SerializedName("OBJECTRRN")
        private String objectrrn;
        @SerializedName("STATE")
        private String state;
        @SerializedName("STATUSMODELRRN")
        private String statusmodelrrn;
        @SerializedName("STYLE")
        private String style;
        @SerializedName("SUBSTATE")
        private String substate;
        @SerializedName("UPDATED")
        private String updated;
        @SerializedName("UPDATEDBY")
        private String updatedby;

        public String getComclass() {
            return comclass;
        }

        public String getCreated() {
            return created;
        }

        public String getDepartment() {
            return department;
        }

        public String getDescription() {
            return description;
        }

        public String getEqptype() {
            return eqptype;
        }

        public String getEquipmentid() {
            return equipmentid;
        }

        public String getHoldstate() {
            return holdstate;
        }

        public Boolean getIsavailable() {
            return isavailable;
        }

        public String getIsbatch() {
            return isbatch;
        }

        public Boolean getIsbatchlotsizecontrol() {
            return isbatchlotsizecontrol;
        }

        public String getIsmultipart() {
            return ismultipart;
        }

        public String getLocation() {
            return location;
        }

        public String getModel() {
            return model;
        }

        public String getObjectrrn() {
            return objectrrn;
        }

        public String getState() {
            return state;
        }

        public String getStatusmodelrrn() {
            return statusmodelrrn;
        }

        public String getStyle() {
            return style;
        }

        public String getSubstate() {
            return substate;
        }

        public String getUpdated() {
            return updated;
        }

        public String getUpdatedby() {
            return updatedby;
        }

        public void setComclass(String comclass) {
            this.comclass = comclass;
        }

        public void setCreated(String created) {
            this.created = created;
        }

        public void setDepartment(String department) {
            this.department = department;
        }

        public void setDescription(String description) {
            this.description = description;
        }

        public void setEqptype(String eqptype) {
            this.eqptype = eqptype;
        }

        public void setEquipmentid(String equipmentid) {
            this.equipmentid = equipmentid;
        }

        public void setHoldstate(String holdstate) {
            this.holdstate = holdstate;
        }

        public void setIsavailable(Boolean isavailable) {
            this.isavailable = isavailable;
        }

        public void setIsbatch(String isbatch) {
            this.isbatch = isbatch;
        }

        public void setIsbatchlotsizecontrol(Boolean isbatchlotsizecontrol) {
            this.isbatchlotsizecontrol = isbatchlotsizecontrol;
        }

        public void setIsmultipart(String ismultipart) {
            this.ismultipart = ismultipart;
        }

        public void setLocation(String location) {
            this.location = location;
        }

        public void setModel(String model) {
            this.model = model;
        }

        public void setObjectrrn(String objectrrn) {
            this.objectrrn = objectrrn;
        }

        public void setState(String state) {
            this.state = state;
        }

        public void setStatusmodelrrn(String statusmodelrrn) {
            this.statusmodelrrn = statusmodelrrn;
        }

        public void setStyle(String style) {
            this.style = style;
        }

        public void setSubstate(String substate) {
            this.substate = substate;
        }

        public void setUpdated(String updated) {
            this.updated = updated;
        }

        public void setUpdatedby(String updatedby) {
            this.updatedby = updatedby;
        }
    }

    public class EquipMentEntityBean {

        @SerializedName("COMCLASS")
        private String comclass;
        @SerializedName("CREATED")
        private String created;
        @SerializedName("DEPARTMENT")
        private String department;
        @SerializedName("DESCRIPTION")
        private String description;
        @SerializedName("EQPTYPE")
        private String eqptype;
        @SerializedName("EQUIPMENTID")
        private String equipmentid;
        @SerializedName("HOLDSTATE")
        private String holdstate;
        @SerializedName("ISAVAILABLE")
        private Boolean isavailable;
        @SerializedName("ISBATCH")
        private String isbatch;
        @SerializedName("ISBATCHLOTSIZECONTROL")
        private Boolean isbatchlotsizecontrol;
        @SerializedName("ISMULTIPART")
        private String ismultipart;
        @SerializedName("LOCATION")
        private String location;
        @SerializedName("MODEL")
        private String model;
        @SerializedName("OBJECTRRN")
        private String objectrrn;
        @SerializedName("STATE")
        private String state;
        @SerializedName("STATUSMODELRRN")
        private String statusmodelrrn;
        @SerializedName("STYLE")
        private String style;
        @SerializedName("SUBSTATE")
        private String substate;
        @SerializedName("UPDATED")
        private String updated;
        @SerializedName("UPDATEDBY")
        private String updatedby;

        public String getComclass() {
            return comclass == null ? "" : comclass;
        }

        public void setComclass(String comclass) {
            this.comclass = comclass;
        }

        public String getCreated() {
            return created == null ? "" : created;
        }

        public void setCreated(String created) {
            this.created = created;
        }

        public String getDepartment() {
            return department == null ? "" : department;
        }

        public void setDepartment(String department) {
            this.department = department;
        }

        public String getDescription() {
            return description == null ? "" : description;
        }

        public void setDescription(String description) {
            this.description = description;
        }

        public String getEqptype() {
            return eqptype == null ? "" : eqptype;
        }

        public void setEqptype(String eqptype) {
            this.eqptype = eqptype;
        }

        public String getEquipmentid() {
            return equipmentid == null ? "" : equipmentid;
        }

        public void setEquipmentid(String equipmentid) {
            this.equipmentid = equipmentid;
        }

        public String getHoldstate() {
            return holdstate == null ? "" : holdstate;
        }

        public void setHoldstate(String holdstate) {
            this.holdstate = holdstate;
        }

        public Boolean getIsavailable() {
            return isavailable;
        }

        public void setIsavailable(Boolean isavailable) {
            this.isavailable = isavailable;
        }

        public String getIsbatch() {
            return isbatch == null ? "" : isbatch;
        }

        public void setIsbatch(String isbatch) {
            this.isbatch = isbatch;
        }

        public Boolean getIsbatchlotsizecontrol() {
            return isbatchlotsizecontrol;
        }

        public void setIsbatchlotsizecontrol(Boolean isbatchlotsizecontrol) {
            this.isbatchlotsizecontrol = isbatchlotsizecontrol;
        }

        public String getIsmultipart() {
            return ismultipart == null ? "" : ismultipart;
        }

        public void setIsmultipart(String ismultipart) {
            this.ismultipart = ismultipart;
        }

        public String getLocation() {
            return location == null ? "" : location;
        }

        public void setLocation(String location) {
            this.location = location;
        }

        public String getModel() {
            return model == null ? "" : model;
        }

        public void setModel(String model) {
            this.model = model;
        }

        public String getObjectrrn() {
            return objectrrn == null ? "" : objectrrn;
        }

        public void setObjectrrn(String objectrrn) {
            this.objectrrn = objectrrn;
        }

        public String getState() {
            return state == null ? "" : state;
        }

        public void setState(String state) {
            this.state = state;
        }

        public String getStatusmodelrrn() {
            return statusmodelrrn == null ? "" : statusmodelrrn;
        }

        public void setStatusmodelrrn(String statusmodelrrn) {
            this.statusmodelrrn = statusmodelrrn;
        }

        public String getStyle() {
            return style == null ? "" : style;
        }

        public void setStyle(String style) {
            this.style = style;
        }

        public String getSubstate() {
            return substate == null ? "" : substate;
        }

        public void setSubstate(String substate) {
            this.substate = substate;
        }

        public String getUpdated() {
            return updated == null ? "" : updated;
        }

        public void setUpdated(String updated) {
            this.updated = updated;
        }

        public String getUpdatedby() {
            return updatedby == null ? "" : updatedby;
        }

        public void setUpdatedby(String updatedby) {
            this.updatedby = updatedby;
        }
    }
}
